package com.apac.bom;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the file_repository_tbl database table.
 * 
 */
@Entity
@Table(name="file_repository_tbl")
public class FileRepository extends AbstractBOM implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="FILE_CODE")
	private int fileCode;

	@Lob
	private byte[] file;

	@Column(name="FILE_NAME")
	private String fileName;

	public FileRepository() {
	}

	public int getFileCode() {
		return this.fileCode;
	}

	public void setFileCode(int fileCode) {
		this.fileCode = fileCode;
	}

	public byte[] getFile() {
		return this.file;
	}

	public void setFile(byte[] file) {
		this.file = file;
	}

	public String getFileName() {
		return this.fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

}